@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

ul, li {
  list-style: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main {
  min-height: 100%
}

.app-container {
  overflow-y: auto;
  height: calc(100vh - 130px);
  padding: 20px;
}

.professions {
  width: 250px;
}

.other {
  width: 250px;
}

.singleDatePicker {
  width: 300px;
}

.width350 {
  width: 350px;
}

.fileUpload {
  width: 400px;
}

.address {
  width: 500px;
}

.datePicker {
  width: 550px;
}

.searchBtn {
  width: 100px;
}

.dialog-line {
  width: 300px;
}

.formBorder {
  padding: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.el-button + .el-button {
  margin-left: 0;
}

//去除input type=number 上下箭头

.el-input--small .el-input__inner {
  line-height: 30px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

// element-ui中table表头错位问题
body .el-table th.gutter {
  display: table-cell !important;
}

body .el-table colgroup.gutter {
  display: table-cell !important;
}

//

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
.el-table__body tr.current-row > td{
  background-color: #ffec8b;
}

//.el-table__body tr.hover-row > td {
//  background-color: #9FB6CD;
//}

